package example.data;

import java.io.Serializable;

/** Dane jednej osoby */
public class Person implements Serializable {

	private String name;
	private String surname;
	private int id;
	private String date;
	private int balance;

	public Person(String name, String surname, int id, String date, int balance) {
		this.name = name;
		this.surname = surname;
		this.id = id;
		this.date = date;
		this.balance = balance;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public void setBalance(int balance) {
		this.balance = balance;
	}

	public int getBalance() {
		return balance;
	}
}
